package com.zeny.online.service;

import com.zeny.online.entity.Users;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>

 */
public interface UsersService extends IService<Users> {

    Users findUserByUsername(String username);

    Users login(Users users) throws Exception;

    Users regist(Users users) throws Exception;

    Integer searchFriend(String userId, String friendUsername);

}
